package main

import (
	"Demo03/part06/FuncFileUp"
	"github.com/gin-gonic/gin"
)

func main() {
	r := gin.Default()
	r.LoadHTMLGlob("part06/templates/**/*")

	r.GET("/", FuncFileUp.GetFileIndex)

	r.POST("/uploadfile", FuncFileUp.Upfile)
	r.Run()
}
